﻿using ClientModels;
using RRQMMVVM;
using ViewModel.ViewModels;

namespace ViewModel.Models
{
    public class ChatMessageItem : ViewModelBase
    {
        public ChatMessageItem()
        {
        }

        public MessageOwner MessageOwner { get; set; }
        public MessageType MessageType { get; set; }
        public string Message { get; set; }

        private UploadFileViewModel uploadFile;

        public UploadFileViewModel UploadFile
        {
            get { return uploadFile; }
            set { uploadFile = value; OnPropertyChanged(); }
        }

        private DownloadFileViewModel downloadFile;

        public DownloadFileViewModel DownloadFile
        {
            get { return downloadFile; }
            set { downloadFile = value; OnPropertyChanged(); }
        }
    }
}